package com.walter.springcloud.computer.apis;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ComputerService
 *
 * @author zhuyuwei
 * @date 2017/4/29
 */
@FeignClient(name = "computer-service")
public interface ComputerService {
    @GetMapping(value = "/add")
    String add(@RequestParam("a") Integer a, @RequestParam("b") Integer b);
}
